<template>
  <div class="app">
    <template v-if="route.path.startsWith('/common')">
      <router-view />
    </template>
    <template v-else>
      <BasicLayout />
    </template>
  </div>
</template>

<style>
nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}
</style>
<script setup lang="ts">
import BasicLayout from "@/layout/BasicLayout.vue";

import { useRoute } from "vue-router";

const route = useRoute();
</script>
